CSE 311: Section 2

Task 1 – Simple Formal Proofs

  1. Given (a→b(a \to b), (c→b)(c \to b), a∨(c∧d)a \lor (c \land d), show that bb holds.

  2. Given ¬(¬r∨k)\neg(\neg r \vee k), ¬q∨¬s\neg q \vee \neg s and (p→q)∧(r→s)(p\to q) \wedge (r\to s), show that ¬p\neg p holds.

Task 2 – Direct Proofs

  1. Show that ¬k→s\neg k \to s follows from k∨qk\vee q, q→rq\to r and r→sr\to s with a formal proof.

  2. Show that r→pr \to p follows from p∨¬qp \vee \neg q, (r∨s)→(q∨s)(r \vee s) \to (q \vee s), and ¬s\neg s.

Task 3 – Predicate Logic Proofs

  1. Given ∀x(T(x)→M(x))\forall x\, (T(x) \rightarrow M(x)), prove (∃xT(x))→(∃yM(y))(\exists x\, T(x)) \rightarrow (\exists y\, M(y)).

  2. Given ∃x(T(x)→∀yS(y,x))\exists x\, (T(x) \rightarrow \forall y\, S(y, x)), prove ∀y∃x(T(x)→S(y,x))\forall y\, \exists x\, (T(x) \rightarrow S(y, x)).

Task 4 – English Proofs

Let domain of discourse be the integers. Consider the following claim: ∀x∀y((𝖤𝗏𝖾𝗇(x)∧𝖮𝖽𝖽(y))→𝖮𝖽𝖽(x+y))\forall x\, \forall y\, ((\mathop{\mathrm{\textsf{Even}}}(x) \wedge \mathop{\mathrm{\textsf{Odd}}}(y)) \to \mathop{\mathrm{\textsf{Odd}}}(x+y)) In English, this says that, for any even integer xx and odd integer yy, the integer x+yx + y is odd.

  1. Write a formal proof that the claim holds.

  2. Translate your formal proof to an English proof.

    Keep in mind that your proof will be read by a human, not a computer, so you should explain the algebra steps in more detail, whereas some of the predicate logic steps (e.g., Elim ∃\exists) can be skipped.